<?php
	class User {
			
		public $m_email;
		public $m_firstName;
		public $m_lastName;
		public $m_dateOfBirth;
		public $m_password;
		
		//skapar en ny användare
		public static function Create($email,
									  $firstName,
									  $lastName,
									  $dateOfBirth,
									  $pawwsord){
			$ret = new User();
			
			$ret->m_email = $email;
			$ret->m_firstName = $firstName;
			$ret->m_lastName = $lastName;
			$ret->m_dateOfBirth = $dateOfBirth;
			$ret->m_password = $pawwsord;
			
			return $ret;
		}
	}
?>